package demo;

public class demo08 {
    public static void main(String[] args) {
        StringBuilder builder = new StringBuilder("1");
        appendTo(builder);
        appendTo2(builder);
        System.out.println(builder);
    }
    public static void appendTo(StringBuilder builder){
        builder.append("Hello World!");
    }
    public static void appendTo2(StringBuilder builder){
        builder.append("Hello java");
    }
}
